gsk: Recycle textures across frames
authorEmmanuele Bassi <ebassi@gnome.org>
Thu, 4 Aug 2016 11:37:54 +0000 (12:37 +0100)
committerEmmanuele Bassi <ebassi@gnome.org>
Tue, 18 Oct 2016 10:49:11 +0000 (11:49 +0100)
commit702befc697ba838f9155d93edc6a54c655cadf2b
tree47ddb9ab2caebd2a5e77b8ed6d79bea15a8de095
parente7c7932d7202eb15683c589a7c6529b93aa1ab3e
gsk: Recycle textures across frames

We keep the textures used inside a frame around until the end of the
following frame; whenever we need a texture with the same size, and
it's not marked in use, then we just reuse the existing texture.
gsk/gskgldriver.c
gsk/gskgldriverprivate.h
gsk/gskglrenderer.c